import { createApp } from "vue";
import router from "./router";
import { createPinia } from "pinia";

import App from "./App.vue";

import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);
app.use(router);
app.use(createPinia());
app.use(Antd);
app.use(ElementPlus)
app.mount("#app");

// import { createRequire } from 'module';
// const require = createRequire(import.meta.url);